package com.desire.service;

import com.desire.entity.UserEntity;

import java.util.List;

/**
 * (D_Users)表服务接口
 */
public interface IUserService {

    UserEntity findUserById(Integer id);

    List<UserEntity> findUserAll();

    UserEntity findUserForUsernameAndPwd(UserEntity userEntity);

    int addUser(UserEntity userEntity);

    int editUser(UserEntity userEntity);

    int deleteUser(Integer id);
}
